//
//  HBHBackView.m
//  HubeiHotel
//
//  Created by 张露杰 on 18/4/11.
//  Copyright © 2018年 张露杰. All rights reserved.
//

#import "HBHBackView.h"

@implementation HBHBackView

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.frame = CGRectMake(0, 0, SCREENW, SCREENH);
        [self addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(click)]];
    }
    return self;
}

-(void)click
{
    if (_blcok) {
        _blcok();
    }
//    [self removeFromSuperview];
}


@end
